.time{
    width: 200px;
    height: 120px;
    border-radius:20px;
    transform: scale(1, 0.5);
    background-color: black;
    text-align: center;
    line-height: 120px;
    font-size: 20px;
    -webkit-text-fill-color: lightskyblue;
    position: absolute;
    top: 0px;
    right: 0px;
    animation-name: one;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    z-index: 1000;
}

@keyframes one {
    50%{
        position: absolute;
        top: 20px;
        right: 0px;
    }
    100%{
        position: absolute;
        top: 0px;
        right: 0px;
    }
}